<!--HTML-->
<% layout('/modules/cmsfront/themes/layouts/default.html', {title: '列表页面', libs: ['fileupload']}){ %>
<link rel="stylesheet" href="${ctxStatic}/fonts/font-icons.min.css?${_version}">
<link rel="stylesheet" href="${ctxStatic}/common/jeesite.css?${_version}">



  		<div class="container">
  		<div class="row">
		
			<div class="bs-component">
				<br/>
				<ul class="breadcrumb">
					<li><a href="#">Home</a></li>
					<li><a href="#">Library</a></li>
					<li class="active">Data</li>
				</ul>
			</div>
		</div>
		<div class="row">
		   <div class="col-xs-2">
			  	全部栏目
				<#html:foreach items="${categoryList(site.siteCode, '0', 16, '')}" var="category,status">
				<li>
				<a href="${category.url}" target="${category.target}" >${category.categoryName}</a>
				</li>
				</#html:foreach>   
		   </div>
		 
	       <div class="col-xs-10">
			  <h4>${category.categoryName}</h4>
				 <% if (category.moduleType == "article"){ %>
					<ul>
					  <#html:foreach items="${page.list}" var="article,status">
						<li><span class="pull-right">${article.updateDate,'yyyy-MM-dd'}</span><a href="${article.url}" style="color:${article.color}">${abbr(article.title,96)}</a></li>
					  </#html:foreach>
					</ul>
				  <div class="pagination">${@page.toHtml()}</div>
				  <script type="text/javascript">
					function page(n,s){
						location="${ctx}/list-${category.categoryCode}?pageNo="+n+"&pageSize="+s;
					}
				  </script>
			  <% } %>
	  	  </div>
		</div>



<% } %>

